package com.qdxwx.captcha.util;

public class ConfigException extends RuntimeException
{
    private static final long serialVersionUID = 6937416954897707291L;

    public ConfigException(String paramName, String paramValue, Throwable cause)
    {
        super("Invalid value '" + paramValue + "' for config parameter '"
                + paramName + "'.", cause);
    }

    public ConfigException(String paramName, String paramValue, String message)
    {
        super("Invalid value '" + paramValue + "' for config parameter '"
                + paramName + "'. " + message);
    }
}
